//请求路径常量
import * as req_con from '../../utils/constant'
import {adminService} from '../service/AdminService'
export let adminController = (url,params) => {
    switch (url) {
        //Admin
        case req_con.ADMIN_CONSTANT.ADMINLISTGET:
            return adminService(url,params)
        case req_con.ADMIN_CONSTANT.ADMINADD:
            return adminService(url,params)
        case req_con.ADMIN_CONSTANT.ADMINDELETE:
            return adminService(url,params)
        case req_con.ADMIN_CONSTANT.ADMINUPDATE:
            return adminService(url,params)
        default:
            break;
    }
}